﻿using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;

namespace Quantum.RabbitMq
{
    public class ServerStartup
    {
        public virtual void ConfigureServices(IServiceCollection services)
        {

        }

        public virtual void Configure(IApplicationBuilder app, IHostingEnvironment env)
        {
            app.UseRabbitMq(ConfigureReplier);
        }

        protected virtual void ConfigureReplier(RabbitMqReplierBuilder builder)
        {
        }
    }
}
